<?php
if(count($articles) && is_array($articles))
{
	$i = 1;
	foreach ($articles as $row)
	{
		$checked = in_array($row['id'], $newsids) || in_array($row['id'], $articles_added);
?>
<tr class="highlightNoClick<?php echo ($checked ? ' selected' : '') ?> no-border" id="<?php echo $row['id'] ?>">
    <td class="fr center" width="10px"><?php echo sel_item($row['id'], '', $checked) ?></td>
  	<td class="fr center" width="20px"><?php echo stt($row['id'], $rowstart + $i++) ?></td>
    <td class="fr" width="380px">
    	<?php echo show_img(NEWS.'thumbs/'.$row['img'], '', 'max-width:25px; max-height:30px;') ?>
    	<?php echo $row['name_vn'] ?>
    </td>
</tr>
<?php
	}
}
else
{
	echo no_data_mes(4);
}
if ($page_list)
{
	echo '<tr>';
	echo '<td class="fr" colspan="3" style="border: none">';
	echo '<div class="page" style="position: absolute; bottom: 5px; left: 5px">';
	echo $page_list;
	echo '</div>';
	echo '</td>';
	echo '</tr>';
}
?>